#macro($menu(menu))
<ul>
	<li><a href="${path}/admin/index.html"#if(menu=="index") class="selected"#end>首页</a></li>
	<li><a href="${path}/admin/menu.html"#if(menu=="menu") class="selected"#end>菜单设置</a></li>
	<li><a href="${path}/admin/category.html" #if(menu=="category") class="selected"#end>栏目管理</a></li>
	<li><a href="${path}/admin/article.html" #if(menu=="article") class="selected"#end>文章管理</a></li>
	<li><a href="${path}/admin/topic.html" #if(menu=="topic") class="selected"#end>主题管理</a></li>
	<li><a href="${path}/admin/user.html"#if(menu=="user") class="selected"#end>用户管理</a></li>
	<li><a href="${path}/admin/setting.html"#if(menu=="setting") class="selected"#end>系统设置</a></li>
</ul>
#end

#macro($head(title))
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>J4CMS 网站内容管理系统--${title}</title>
<link rel="stylesheet" type="text/css" href="${path}/admin/css/admin_style.css" />
<link rel="stylesheet" type="text/css" href="${path}/css/lib.css" />
<script src="${path}/admin/js/jquery-1.7.2.min.js"></script>
<script src="${path}/admin/js/main.js"></script>
<script src="${path}/js/lhgdialog.min.js?skin=discuz&self=true"></script>
<script>
(function(config){
    config['extendDrag'] = true; // 注意，此配置参数只能在这里使用全局配置，在调用窗口的传参数使用无效
    config['lock'] = true;
    config['fixed'] = true;
    config['okVal'] = '确定';
    config['min'] = false;
    config['max'] = false;
    config['cancelVal'] = '取消';
})($.dialog.setting);
$.dialog.setting.extendDrag = true;
var path = $.dialog.setting.path;
function openMsgWindow() {
	$.dialog({
		id:'msgDialog',
		title: '提示信息',
		lock:true,
		fixed:true,
		width:300,
		height:100,
		min:false,
		max:false,
		ok: function(){
			this.title('成功提示！').content('操作成功！').time(2);
			return false;
		 },
		 cancel: function(){
			return true;
		 },
		content: "<div style='line-height:25px'>您有新的站内信<Br><a href=\"http://www.uimaker.com\">点此阅读</a></div>"
	});
}
</script>
#end